-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project group cypress tests #1170
base: main
Are you sure you want to change the base?
Conversation
|
||
static path = 'task-list' | ||
static path1 = 'groups/project-list' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this have a more descriptive name please?
urnField: '[data-cy="UKPRN"]', | ||
continueButton: '[data-cy="submit-btn"]', | ||
conversionSelection: '[id="available-conversion-\\[0\\]"]', | ||
confirmandcontinue: '[data-cy="select-common-submitbutton"]' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs to use lower camel case like other variable names for consistency
} | ||
|
||
static deleteGroup() { | ||
cy.get('[data-cy="tes"]').click(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know it's not been added in this PR, but is this data-cy tag named well?
import { decisionPage } from '../../pages/decisionPage'; | ||
import { Logger } from '../../support/logger'; | ||
|
||
describe('Decisions Tests', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these still decisions tests?
Logger.log("Click on create a group"); | ||
projectTaskList.clickCreateGroupBtn(); | ||
|
||
Logger.log("enerting which trust will the group join"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
entering?
This automation test creates a conversion, verifies it, tests the new Groups feature, and then deletes the created group.